<img src="./img/car.png" class="photos" id="photoPath">
<ul class="con">
	<li>
		<p>
			<label class="title min_title">车&nbsp;牌&nbsp;&nbsp;号:</label>
			<span class="cont" id="vehicleLicense">无</span>
		</p>
	</li>
	<li>
		<p>
			<label class="title">车&emsp;&emsp;型:</label>
			<span class="cont" id="vehicleType">无</span>
		</p>
	</li>
	<li>
		<p>
			<label class="title">所属单位:</label>
			<span class="cont" id="unitName">无</span>
		</p>
	</li>
	<li>
		<p>
			<label class="title">单位地址:</label>
			<span class="cont" id="unitAddress">无</span>
		</p>
	</li>
	<li>
		<p>
			<label class="title min_title">执法区域:</label>
			<span class="cont" id="lawArea">无</span>
		</p>
	</li>
	<li>
		<p>
			<label class="title min_title">单位电话:</label>
			<span class="cont" id="unitPhone">无</span>
		</p>
	</li>
	<li>
		<p>
			<label class="title min_title">监督电话:</label>
			<span class="cont" id="supervisePhone">无</span>
		</p>
	</li>
</ul>
<footer class="footer">
	<!-- <p class="oper" id="oper">
		<input type="hidden" id="userId">
		<button class="btn" id="addComment">满意度评价</button>
		<button class="btn btn_info">信用红黑名单</button>
	</p> -->
	<p class="oper" id="oper">
		<button class="btn btn_gray" id="flfg">法律法规</button>
	</p>
</footer>

<!-- 加载效果 -->
<div class="mask">
	<div class="loading">
		<span></span>
		<span></span>
		<span></span>
		<span></span>
		<span></span>
	</div>
</div>
<!-- 请求失败 -->
<section class="alert">
	<section class="error msg_cont">
		<i class="iconfont icon-shibai error"></i>
		<h1>请求失败</h1>
	</section>
</section>
<script>
	$(function () {
		var id = getQueryString('id');
		// 获取个人信息
		if (vehicleLicense) {
			$.ajax({
				url: getHost() + "/xboot/enforceLawVehicle/getInfoById/"+id,
				dataType: "json",
				type: "get",
				timeout: getTimeout(),
				beforeSend: function () {
					$(".mask").show();
				},
				success: function (res) {
					$(".mask").hide();
					result(res)
				},
				error: function () {
					$(".mask").hide();
				}
			});
		}

		oper()
	})
</script>